package com.usian.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.article.pojos.ApAuthor;
import com.usian.model.common.dtos.ResponseResult;

public interface ApAuthorService extends IService<ApAuthor> {
    //保存作者
    public ResponseResult saveApAuthor(ApAuthor  apAuthor);
    //根据用户id查询作者信息
    public ApAuthor findByUserId(Integer userId);


    public ApAuthor findByUserName(String name);


    public ApAuthor findByWmUserId(Integer userId);
}
